﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BulldogCMS.Core.Runtime.Modules;
using System.Web.Mvc;
using System.Reflection;

namespace BulldogCMS.Modules.TreeRenderer
{
    public class TreeRendererModuleProvider : IModuleAreaProvider
    {
        public string AreaName
        {
            get;
            set;
        }

        public IController CreateController(System.Web.Routing.RequestContext requestContext, string controllerName)
        {
            return new Controllers.HomeController();
        }

        public Assembly CurrentProviderAssembly
        {
            get
            {
                return Assembly.GetExecutingAssembly();
            }
        }

    }
}